QT       += core gui
QT       += multimedia  multimediawidgets
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    EditorWidgets/dialogeditor.cpp \
    EditorWidgets/effecteditwidget.cpp \
    EditorWidgets/imageeditwidget.cpp \
    EditorWidgets/initwidget.cpp \
    EditorWidgets/linkereditwidget.cpp \
    EditorWidgets/linkeritem.cpp \
    EditorWidgets/menudataitem.cpp \
    EditorWidgets/menuwidget.cpp \
    EditorWidgets/searchlineedit.cpp \
    EditorWidgets/settingwidget.cpp \
    GameData/gamedata.cpp \
    GameData/jsontranslator.cpp \
    GameUI/album.cpp \
    GameUI/coverpage.cpp \
    GameUI/dataview.cpp \
    GameUI/gamemainwindow.cpp \
    GameUI/gameuicontainer.cpp \
    GameUI/menu.cpp \
    GameUI/option.cpp \
    GameUI/record.cpp \
    GameUI/recorditem.cpp \
    GameUI/uimanager.cpp \
    Linker/linker.cpp \
    Narration/narrationnode.cpp \
    Narration/narrationwidget.cpp \
    Narration/narrationwidgetitem.cpp \
    Narration/narrationwidgettool.cpp \
    Render/particlesystem.cpp \
    Render/renderparent.cpp \
    Render/rendertarget.cpp \
    Render\camera.cpp \
    ResourceManger/filepreviewwidget.cpp \
    ResourceManger\filemanager.cpp \
    Sound/soundmanager.cpp \
    UIEditor/mybutton.cpp \
    UIEditor/mylabel.cpp \
    UIEditor/mywidget.cpp \
    UIEditor/uieditorwidget.cpp \
    UIEditor/uilib.cpp \
    eventcenter.cpp \
    gamemanager.cpp \
    main.cpp \
    editorwindow.cpp \
    Render\renderwidget.cpp \
    ResourceManger\resourceitem.cpp \
    ResourceManger\resourcelistwidget.cpp \
    ResourceManger\resourceswidget.cpp

HEADERS += \
    EditorWidgets/dialogeditor.h \
    EditorWidgets/effecteditwidget.h \
    EditorWidgets/imageeditwidget.h \
    EditorWidgets/initwidget.h \
    EditorWidgets/linkereditwidget.h \
    EditorWidgets/linkeritem.h \
    EditorWidgets/menudataitem.h \
    EditorWidgets/menuwidget.h \
    EditorWidgets/searchlineedit.h \
    EditorWidgets/settingwidget.h \
    GameData/gamedata.h \
    GameData/jsontranslator.h \
    GameUI/album.h \
    GameUI/coverpage.h \
    GameUI/dataview.h \
    GameUI/gamemainwindow.h \
    GameUI/gameuicontainer.h \
    GameUI/menu.h \
    GameUI/option.h \
    GameUI/record.h \
    GameUI/recorditem.h \
    GameUI/uimanager.h \
    Linker/linker.h \
    Narration/narrationnode.h \
    Narration/narrationwidget.h \
    Narration/narrationwidgetitem.h \
    Narration/narrationwidgettool.h \
    Render/particlesystem.h \
    Render/renderparent.h \
    Render/rendertarget.h \
    Render\camera.h \
    ResourceManger/filepreviewwidget.h \
    Sound/soundmanager.h \
    UIEditor/mybutton.h \
    UIEditor/mylabel.h \
    UIEditor/mywidget.h \
    UIEditor/uieditorwidget.h \
    UIEditor/uilib.h \
    editorwindow.h \
    ResourceManger\filemanager.h \
    Render\renderwidget.h \
    ResourceManger\resourceitem.h \
    ResourceManger\resourcelistwidget.h \
    ResourceManger\resourceswidget.h \
    Render\shader.h \
    eventcenter.h \ \
    gamemanager.h

FORMS += \
    EditorWidgets/dialogeditor.ui \
    EditorWidgets/effecteditwidget.ui \
    EditorWidgets/imageeditwidget.ui \
    EditorWidgets/initwidget.ui \
    EditorWidgets/linkereditwidget.ui \
    EditorWidgets/linkeritem.ui \
    EditorWidgets/menudataitem.ui \
    EditorWidgets/menuwidget.ui \
    EditorWidgets/settingwidget.ui \
    GameUI/album.ui \
    GameUI/coverpage.ui \
    GameUI/dataview.ui \
    GameUI/gamemainwindow.ui \
    GameUI/menu.ui \
    GameUI/option.ui \
    GameUI/record.ui \
    GameUI/recorditem.ui \
    Narration/narrationwidgetitem.ui \
    Narration/narrationwidgettool.ui \
    ResourceManger/filepreviewwidget.ui \
    UIEditor/uieditorwidget.ui \
    actionitem.ui \
    editorwindow.ui \
    Render\renderwidget.ui \

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    res.qrc
